@charset "utf-8";
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img,input{margin:0;padding: 0;}
a,u{text-decoration: none;color: #666;}
ol,ul,li{list-style: none;}
b,strong{font-weight: 100;}
i,em{font-style: normal;}
h1,h2,h3,h4,h5,h6{font-weight: 100;font-size: 16px;}
img{display: block;border:0;}
.clearfix:after{content: ".";clear: both;display: block;height: 0;overflow: hidden;visibility: hidden;}
input{outline: none;border: 0;}

.topCon,.logo,.navCon,.footerCon{width: 1000px;margin: 0 auto;}

/*top*/
$fontSize : 12px;
body{
    font-size: $fontSize;
}
#top {
    height: 28px;
    background: #f6f6f6;
    border-bottom: 1px solid #ddd;
}
.topCon {
    height: 28px;
    font-size: 12px;
    color: #666;
}
.topLeft {
    width: 250px;
    float: left;
    position: relative;
    span {
        background: url(../images/icons.png) no-repeat -98px -196px;
        padding-left: 18px;
        line-height: 28px;
        text-align: center;
        float: left;
    }
}
.box {
    width: 193px;
    position: absolute;
    left: 57px;
    height: 28px;
    overflow: hidden;
}
.showNotice {
    position: absolute;
    li{
        line-height: 28px;
        width: 190px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        a:hover {
             color: #F70800;
          }
      }
}
.topRight {
    float: right;
    li {
        float: left;
        line-height: 28px;
        & > a {
            padding: 0 10px 0 10px;
        }
        & > a:hover {
            color: #F70800;
        }
       }
    .paddNone {
        padding-right: 0;
        padding-left: 25px;
        background: url(../images/icon.png) 12px -30px no-repeat;
        }
}
.liLast {
    position: relative;
    &:hover{
        .scan {
            display: block;
        }
    }
}
.scan {
    padding: 10px;
    position: absolute;
    top: 26px;
    left: -6px;
    background: #fff;
    text-align: center;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    display: none;
    z-index: 100;
    p {
        a {
            color: #F70800;
            font-size: 14px;
        }
    }
}

/*logo*/
.logo{
    height: 102px;
    margin-bottom: 3px;
    font-size: 12px;
    .logoCon {
        width: 206px;
        margin-right: 82px;
        margin-top: 26px;
        float: left;
        h2 {
            width: 206px;
            height: 46px;
        }
        p {
            width: 206px;
            height: 30px;
        }
    }
    .search {
        width: 420px;
        margin-top: 26px;
        float: left;
        height: 36px;
        position: relative;
        background: url(../images/searchbar.jpg) no-repeat;
        .l {
            float: left;
            .sch {
                width: 326px;
                height: 32px;
                color: #999;
                background: none;
                padding: 2px;
                 padding-left: 15px;
            }
        }
        .r {
            float: left;
            .btn {
                width: 76px;
                height: 36px;
                cursor: pointer;
                background: none;
            }           
        }
        .lenov {
            position: absolute;
            border: 1px solid #ccc;
            width: 340px;
            background: #fff;
            z-index: 30;
            height: 40px;
            top: 34px;
            left: 2px;
            display: none;
        }
    }
    .mycart {
        width: 140px;
        height: 32px;
        float: right;
        margin-top: 28px;
        position: relative;
        &:hover {
            .cart {
                border-bottom: 1px solid #fff;
            }
            .cartInfo {
                display: block;
            }
        }
        
        .cart {
            width: 98px;
            height: 30px;
            border: 1px solid #ddd;
            background: #fff url(../images/icon.png) no-repeat 15px -60px;
            padding-left: 40px;
            position: absolute;
            z-index: 22;
            a {
                line-height: 30px;
                margin-right: 12px;
                &:hover {
                    color: #F70800;
                }
            }
            .ijt {
                background: url(../images/icon.png) no-repeat -189px -60px;
                width: 11px;
                height: 6px;
                display: inline-block;
            }
            &:hover .ijt{
                 background: url(../images/icon.png) no-repeat -189px 0;
            }
            .iNum {
                position: absolute;
                background: url(../images/icon.png) no-repeat 0 -101px;
                width: 22px;
                height: 14px;
                top: -3px;
                left: 95px;
                color: #fff;
                text-align: center;
                line-height: 14px;
                
            }
        }
        .cartInfo {
            width: 288px;
            border: 1px solid #ddd;
            position: absolute;
            top: 29px;
            right: 0;
            box-shadow: 0 0 3px rgba(0,0,0,0.2);
            background: #fff; 
            display: none;
            z-index: 12;
            .cartList {
                padding-top: 10px;
                background: #fff;
                .noneCart {
                    height: 74px;
                    text-align: center;
                    line-height: 74px;
                }
                .haveCart {
                    width: 100%;
                    table,thead {
                        width: 100%;
                        table-layout: fixed;
                        tr {
                            width: 100%;
                        }
                        tr th {
                            width: 25%;
                            height: 30px;
                            background: #FF504A;
                            font-size: 14px;
                            padding: 2px 0;
                            color: #fff;
                        }
                        tr td {
                            text-align: center;
                            padding: 5px 0;
                            overflow: hidden;
                            white-space: nowrap;
                            height: 30px;
                            line-height: 30px;
                            border-collapse: collapse;
                            text-overflow: ellipsis;
                            //width: 100px;
                        }
                        a {
                            border: 1px solid #ddd;
                            cursor: pointer;
                            padding: 2px 5px;
                        }
                    }
                    p {
                        height: 30px;
                        line-height: 30px;
                        padding-left: 10px;
                        .sp1,.totalMoney {
                            float: left;
                            font-size: 14px;
                        }
                        .jiesuan {
                           display: inline-block;
                           width: 100px;
                           height: 30px;
                           line-height: 30px;
                           color: #fff;
                           background: #FF504A;
                           border-radius: 2px;
                           text-align: center;
                           float: left;
                           margin-left: 60px;
                        }
                    }                    
                }
            }
        }
    }
}

/*nav*/
#nav {
    height: 40px;
    background: #F70800;
    .navCon {
        height: 40px;
        .navLeft {
            float: left;
            li {
                float: left;
                a {
                    padding: 0 20px;
                    line-height: 40px;
                    float: left;
                    font-size: 15px;
                    color: #fff;
                    font-weight: 700;
                    &:hover {
                        background-color: #e20700;
                    }
                }
                .hover {
                    background-color: #BC0600;
                }
                .tv {
                    background: url(../images/icon-tv.png) no-repeat 20px center;
                    padding-left: 45px;
                }
            }
        }
        .navRight {
            position: relative;
            .navTop {
                z-index: 1;
                width: 134px;
                height: 40px;
                float: right;
                background: url(../images/searchbar.jpg) no-repeat 0 -65px;               
                &:hover {
                    background: url(../images/searchbar.jpg) no-repeat 0 -133px;
                    .navBottom {
                        display: block;
                    }
                }
                .navBottom {
                    width: 1000px;
                    position: absolute;
                    top: 40px;
                    right: 0;
                    display: none;
                    z-index: 100;
                    .proList {
                        width: 998px;
                        border: 1px solid #f70800;
                        overflow: hidden;
                        background-color: #fff;
                        .kinds {
                            width: 135px;
                            height: 100%;
                            float: left;
                            border-right: 1px solid #ededed;
                            padding: 0 15px;
                            padding-bottom: 32767px;
                            margin-bottom: -32767px;
                            .kindsTop {
                                height: 42px;
                                border-bottom: 1px dotted #d9d9d9;
                                padding: 6px 15px;
                                line-height: 46px;                        
                                img {
                                    float: left;
                                }
                                a {
                                    font-size: 14px;
                                    font-weight: 700;
                                    color: #222;
                                    float: left;
                                    
                                }
                            }
                            .kindsBot {
                                padding-top: 5px;
                                padding-bottom: 17px;
                                a {
                                    display: block;
                                    text-align: center;
                                    height: 24px;
                                    line-height: 24px;
                                    color: #555;
                                    font-size: 12px;
                                    &:hover {
                                        color: #F70800;
                                    }
                                }
                                
                            }
                        }
                        .kindsLast {
                            border-right: 0;
                        }
                    }
                }              
            }
            
        }
    }
}

/*sideBar*/
.sideBar {
    width: 36px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    color: #222;
    
    /*上侧边栏和下侧边栏公共样式*/
    .comHover {
        width: 90px;
        height: 36px;
        position: absolute;
        right: 36px;
        top: 0;
        line-height: 36px;
        background: url(../images/xfbj.png) no-repeat 0 -412px;
        text-align: center;
        display: none;
        a {
            color: #fff;                   
        }
    }
    .fly {
            width: 36px;
            height: 36px;
            position: relative;
            font-size: 12px;
    }
    
    /*上侧边栏*/
    .barTop {
        position: absolute;
        top: 50%;
        right: 0;
        margin-top: -72px;
        width: 36px;
        height: 144px;        
        .flyUser {
            background: url(../images/xfbj.png) no-repeat;
            &:hover {
                background: url(../images/xfbj.png) no-repeat -46px 0;                
            }
            
            .userHover {               
                position: absolute;
                right: 36px;
                top: 0;
                width: 257px;
                height: 228px;
                padding: 2px;
                text-align: center;
                background: url(../images/centerbj.jpg) no-repeat;
                display: none;
                .slidePic {
                    width: 74px;
                    height: 74px;
                    margin: 30px auto;
                    margin-bottom: 10px;
                    img {
                        border: 1px solid #ddd;
                        border-radius: 37px;
                    }
                }
                p {
                    
                    a {
                        color: #F70800;
                        padding: 6px;
                    }
                }
                .go {
                    width: 207px;
                    background: #f8f8f8;
                    padding: 16px 25px;
                    position: absolute;
                    bottom: 2px;
                    a {
                        display: inline-block;
                        width: 88px;
                        height: 28px;
                        color: #222;
                        border-radius: 5px;
                        border: 1px solid #ddd;
                        text-align: center;
                        line-height: 28px;
                        &:hover {
                            border-color: #F70800;
                            color: #F70800;
                        }
                    }
                    .aMydd {
                        margin-right: 18px;
                    }
                }
            }            
        }
     
        .flyCart {
            background: url(../images/xfbj.png) no-repeat 0 -46px;
            .cartNum {
                width: 22px;
                height: 14px;
                position: absolute;
                top: 0;
                right: 0;
                background: url(../images/xfbj.png) no-repeat 1px -342px;
                color: #fff;
                text-align: center;
                line-height: 14px;
            }
            &:hover {
                background: url(../images/xfbj.png) no-repeat -46px -46px;
                .comHover {
                    display: block;
                }
                .cartNum {
                     background: url(../images/xfbj.png) no-repeat 0 -374px;
                     color: #F70800;
                }
            }
            
        }
        .flyCare {
            background: url(../images/xfbj.png) no-repeat 0 -92px;
            &:hover {
                background: url(../images/xfbj.png) no-repeat -46px -92px;
                .comHover {
                    display: block;
                }
            }
        }
        .flySer {
            background: url(../images/xfbj.png) no-repeat 0 -138px;
            &:hover {
                background: url(../images/xfbj.png) no-repeat -46px -138px;
                .comHover {
                    display: block;
                }
            }
        }
    }
    
    /*下侧边栏*/
    .barBottom {
        width: 36px;
        height: 108px;
        position: absolute;
        bottom: 0;
        .flyCode {
            background: url(../images/xfbj.png) no-repeat 0 -184px;
            &:hover {
                background: url(../images/xfbj.png) no-repeat -46px -184px;
                .codeHover {
                    display: block;
                }
            }
            .codeHover {
                width: 132px;
                height: 182px;
                position: absolute;
                top: -73px;
                right: 36px;
                display: none;
            }
        }
        .flyAsk {
            background: url(../images/xfbj.png) no-repeat 0 -230px;
                &:hover {
                    background: url(../images/xfbj.png) no-repeat -46px -230px;
                    .comHover {
                        display: block;
                }
            }
        }
        .flyReturn {
            background: url(../images/xfbj.png) no-repeat 0 -276px;
            &:hover {
                background: url(../images/xfbj.png) no-repeat -46px -276px;
                .comHover {
                    display: block;
                }
            }
        }
    }    
}

/*footer*/
.footer{
    height: 400px;
    border-top: 1px solid #ccc;
    .footerCon {
        padding-bottom: 50px;
        height: 400px;
        .footerAd {
            width: 100%;
            height: 102px;
        }
        .webZ {
            width: 925px;
            border-bottom: 1px solid #e6e6e6;
            padding: 26px 0 26px 75px;
            .firstDl {
                float: left;
                width: 95px;
                height: 114px;
                padding-left: 42px;
                border-right: 1px dotted #e6e6e6;
                dt {
                    color: #333;
                    font-size: 16px;
                    height: 26px;
                    line-height: 26px;
                }
                dd {
                    height: 22px;
                    line-height: 22px;
                    a {
                        display: block;
                        color: #666;
                    }
                }
            }
            .boderNone {
                border-right: 0;
            }
            .lastDl {
                margin-left: 20px;
                float: left;
                dt {
                    width: 80px;
                    text-align: center;
                    float: left;
                    i {
                        color: #222;                    
                    }
                    em {
                        color: #999;
                    }
                }
                dd {
                    margin: 25px 0 0 25px;
                    float: left;
                }
            }
        }
        .footerInfo {
            padding-top: 22px;
            text-align: center;
            color: #555;
            p{
               line-height:22px;          
            }
            .yq1 {
                a {
                    color: #666;
                    padding: 0 9px 0 9px; 
                    &:hover {
                        color: #F70800;
                    }              
                }
            }
            .yqLink {
                width: 960px;            
                color: #666; 
                text-align: center;
                background:pink;
                margin: 0 auto;                     
                p {
                    float: left;
                    width: 900px;
                    height: 22px;
                    text-align: left;
                    a {
                        color: #555;
                        padding-right: 5px;
                        &:hover {
                            color: #F70800;
                        }
                    }
                }            
                .btnR {
                    width: 50px;
                    height: 22px;
                    float: right;
                }
            }
            .footerList {
                margin: 0 auto;
                text-align: center;
                height: 26px;
                img{
                    display: inline-block;
                    vertical-align: middle;
                }
                p {
                    display: inline-block;
                    height: 26px;
                    line-height: 26px;
                }
            }
        }
    }
}